package com.example.eventbus;

import android.util.Log;

import androidx.appcompat.app.AppCompatActivity;

import com.hil.eventbus.Subscriber;
import com.hil.eventbus.ThreadMode;

public class TestActivity extends AppCompatActivity {

    String  TAG = TestActivity.class.getCanonicalName();

    @Subscriber(mode = ThreadMode.MAIN)
    void  mainReciver(MainActivity.MainEvent mainEvent  ){
        Log.e(TAG,"mainReciver currentThread = "+Thread.currentThread().getId());
    }
}
